package com.lbc.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author xyl
 * @date 2021-03-18 16:34
 */
@Data
public class DonateProjectVO {

    private Integer donateProjectId;

    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("大图url")
    private String mainPic;
    @ApiModelProperty("捐赠对象")
    private String donateObject;
    @ApiModelProperty("目标金额")
    private Float goalMoney;
    @ApiModelProperty("当前金额")
    private Float currentMoney;
    @JsonFormat(pattern="yyyy/MM/dd" ,  timezone="GMT+8")
    @ApiModelProperty("截止时间")
    private Date deadline;

    private String description;

    private String detail;

    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss" ,  timezone="GMT+8")
    private Date createTime;

    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss" ,  timezone="GMT+8")
    private Date updateTime;

    @ApiModelProperty("0.已结束  1.进行中")
    private Integer state;
}
